package org.springblade.application.runner;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springblade.application.service.AppService;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;


/**
 * @description: AppApplicationRunner <br>
 * @date: 2022/4/26 15:26 <br>
 * @author: yzpang <br>
 * @version: 1.0 <br>
 */
@Component
@AllArgsConstructor
public class AppApplicationRunner implements ApplicationRunner {
	private AppService appService;
	@Override
	public void run(ApplicationArguments args) throws Exception {
		appService.updateBuiltinApp();
	}
}
